    #include <SDL2/SDL.h>
    #include <stdio.h>
    
    int main(int argc, char* argv[]) {
        SDL_Window* window = NULL;
        SDL_Init(SDL_INIT_VIDEO);
        window = SDL_CreateWindow("SDL Tutorial", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 640, 480, SDL_WINDOW_SHOWN);
        SDL_Delay(2000); // 等待2秒
        SDL_DestroyWindow(window);
        SDL_Quit();
        return 0;
    }